package net.wanho.shop.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 这个类是：
 *
 * @author: MENG HU WANG
 * @date: 2024/12/29 20:11
 * @version: 1.0
 */

@Data
public class MemberVo implements Serializable {

    @Excel(name = "用户ID", width = 20)
    @ApiModelProperty(value = "用户id")
    private Integer id;

    @Excel(name = "用户名", width = 30)
    @ApiModelProperty(value = "用户名")
    private String username;


    @Excel(name = "邮箱", width = 30)
    @ApiModelProperty(value = "邮箱")
    private String email;

    @Excel(name = "性别", width = 20)
    @ApiModelProperty(value = "性别")
    private String gender;

    @Excel(name = "QQ", width = 30)
    @ApiModelProperty(value = "qq")
    private String qq;

    @Excel(name = "手机", width = 30)
    @ApiModelProperty(value = "手机")
    private String phone;

    @Excel(name = "学历", width = 30)
    @ApiModelProperty(value = "学历")
    private String education;

    @Excel(name = "爱好", width = 40)
    @ApiModelProperty(value = "爱好")
    private String hobby;

    @Excel(name = "简介", width = 60)
    @ApiModelProperty(value = "简介")
    private String introduce;

    @Excel(name = "创建时间", width = 30, format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @Excel(name = "修改时间", width = 30)
    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;

}
